@import "./../theme";
@import "./../var";

.renderer-form-item {
  .el-form-item__label {
    font-size: $fontSizeRegular;
    color: $colorTextPrimary;
  }

  .custom-textarea-section {
    white-space: pre-line;
    line-height: 1.2rem;
    font-size: 13px;
    padding: 0.4rem 0;
    word-break: break-all;
    line-break: anywhere;
  }

  &.print-read-mode {
    .el-form-item__label {
      color: $colorTextSecondary;
    }

    .el-input-number {
      .el-input__inner {
        //text-align: left;
        padding-left: 0;
      }
    }

    .is-disabled {
      .el-input__suffix, .el-input__prefix {
        display: none;
      }

      .el-input__inner, .el-textarea__inner {
        cursor: text !important;
        background-color: transparent !important;
        border-color: transparent !important;
        color: $colorTextPrimary;
        resize: none;
        padding-left: 0;
        // 谷歌
        &::-webkit-input-placeholder {
          color: transparent;
        }

        // 火狐19+版本
        &::-moz-placeholder { /* Mozilla Firefox 19+ */
          color: transparent;
        }

        // 火狐4-18版本
        &:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
          color: transparent;
        }

        // IE10-11版本
        &:-ms-input-placeholder { /* Internet Explorer 10-11 */
          color: transparent;
        }
      }
    }
  }
}
